package com.campus.customer.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.campus.common.mybatis.entity.IntegerIdBaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品规格组表
 * </p>
 *
 * @author ZhaoYuJie
 * @since 2025-04-02
 */
@Getter
@Setter
@TableName("goods_spec_group")
@ApiModel(value = "GoodsSpecGroup对象", description = "商品规格组表")
public class GoodsSpecGroup extends IntegerIdBaseEntity<GoodsSpecGroup> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品ID")
    @TableField("goods_id")
    private Integer goodsId;

    @ApiModelProperty("规格组名称（如：大小、口味）")
    @TableField("name")
    private String name;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @Override
    public Serializable pkVal() {
        return null;
    }
}
